package com.augurit.gzcgwsp.jzfqwczz.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.augurit.common.base.dao.BaseDao;
import com.augurit.common.entity.OmOrg;
import com.augurit.gzcgwsp.jzfqwczz.dao.YwYnJzfqwczcJbxxDao;
import com.augurit.gzcgwsp.jzfqwczz.entity.YwYnJzfqwczcJbxx;

@Repository
public class YwYnJzfqwczcJbxxDao extends BaseDao<YwYnJzfqwczcJbxx, Long> {

	public List<OmOrg> OmOrgsByName(String orgname) {
		String sql=" from OmOrg where orgName='"+orgname+"'";
		return find(sql);
	}
}